package com.itheima.mapper;


import com.itheima.pojo.Emp;
import org.apache.ibatis.annotations.Select;

public interface UserMapper {
    //根据账户 密码查询
    @Select("select * from emp where username = #{username} and password = #{password}")
    Emp findByUsernameAndPassword(String username,String password);

}
